package com.company.com.company;

/**
 * @author 刘宇韬
 */
public class 油滴实验的数据计算 {
    public static void main(String[] args) {

        nb(295.2,9.31);
        nb(137,12.4);
        nb(161,9.46);
        nb(103.8,9.15);
        nb(117.6,8.74);


    }
    public static void nb(double v, double t){
        double b = (1.43E-14)/Math.pow(t*(1+1.96E-2*Math.pow(t,0.5)),1.5);
        double q = b/v;
        System.out.println("电荷量为："+q);
        double e0 = 1.602E-19;
        double result = q/e0;
        long n = Math.round(result);
        System.out.println("电子个数为："+n);
        double e = q/n;
        System.out.println("e测为："+e);
        System.out.println();


    }
}
